﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevDL.UserLimit.IDAL;
using System.Data;
using DevDL.UserLimit.DALFactory;
using DevDL.UserLimit.Models;

namespace DevDL.UserLimit.BLL
{
    public class FunctionBLL
    {
        IFunctionDAL ifunction = DataAccess.CreateFunctionDAL();
        public DataSet GetFunctions()
        {
            return ifunction.GetFunctions();
        }
        public List<Function> GetFunctionByPId(int pid)
        {
            return ifunction.GetFunctionByPId(pid);
        }
        public List<Function> GetTopFunction()
        {
            return ifunction.GetTopFunction();
        }
    }
}
